home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Tools - Objects / C++ / MPW C++ 3.1b1 / Examples / CPlusExamples / TApplicationCommon.h < prev    next >
Text File  |  1989-09-29  |  1KB  |  49 lines

  1. /*------------------------------------------------------------------------------
  2. #
  3. #    Apple Macintosh Developer Technical Support
  4. #
  5. #    MultiFinder-Aware Simple Application Framework
  6. #
  7. #    CPlusAppLib
  8. #
  9. #    TApplicationCommon.h    -    C++ and Rez source
  10. #
  11. #    Copyright © 1989 Apple Computer, Inc.
  12. #    All rights reserved.
  13. #
  14. #    Versions:    
  15. #            1.10                     07/89
  16. #            1.00                     04/89
  17. #
  18. #    Components:
  19. #            TApplicationCommon.h    July 9, 1989
  20. #            TApplication.h            July 9, 1989
  21. #            TDocument.h                July 9, 1989
  22. #            TApplication.cp            July 9, 1989
  23. #            TDocument.cp            July 9, 1989
  24. #            TApplication.r            July 9, 1989
  25. #
  26. #    CPlusAppLib is a rudimentary application framework
  27. #    for C++. The applications CPlusShapesApp and CPlusTESample
  28. #    are built using CPlusAppLib.
  29. #
  30. ------------------------------------------------------------------------------*/
  31.  
  32. #ifndef TApplicationCommon_Defs
  33. #define TApplicationCommon_Defs
  34.  
  35. /*
  36.     These definitions are shared by Rez and C++. We use #define statements
  37.     instead of constants in this file because Rez doesn't support constants.
  38.  */
  39.  
  40. /* Some constants for resource ID's */
  41. #define kErrStrings    128                /* error string list */
  42. #define    rUserAlert    129                /* user error alert */
  43.  
  44. /* The following are indicies into our error STR# resource. */
  45. #define    eWrongMachine            1
  46. #define    eSmallSize                2
  47.  
  48. #endif TApplicationCommon_Defs
  49.